package cn.edu.nju.oraldefense.dao;

import java.util.List;

import cn.edu.nju.oraldefense.model.Teacher;

public interface TeacherDao {
	public void save(Teacher instance);

	public List findAll();

	public int findCount();

	public List findByPage(int start, int limit);

	public Teacher findById(int id);

	public List findByProperty(String propertyName, Object value);

	public List findByNumber(String number);

	public void update(Teacher instance);

	public void delete(Teacher instance);
}
